/*
Copyright (C) 2008 Matthew Perry

This library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This libary/program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

using System;

namespace BaseTools.XS
{
	/// <summary>
	/// XSettings program information
	/// </summary>
	public class XSInfo
	{
		private string name, author, description, launch;
		
		/// <summary>
		/// Create a new XSInfo
		/// </summary>
		/// <param name="name">The program name</param>
		/// <param name="author">The program author</param>
		/// <param name="description">The program description</param>
		/// <param name="launch">The program executable path</param>
		public XSInfo(string name, string author, string description, string launch)
		{
			this.name = name;
			this.author = author;
			this.description = description;
			this.launch = launch;
		}
		
		/// <summary>
		/// Name of the program that created the configuration
		/// </summary>
		public string Name
		{
			get
			{
				return name;
			}
		}
		
		/// <summary>
		/// Name of the author that created the program
		/// </summary>
		public string Author
		{
			get
			{
				return author;
			}
		}
		
		/// <summary>
		/// Description of the program
		/// </summary>
		public string Description
		{
			get
			{
				return description;
			}
		}
		
		/// <summary>
		/// Executable path for the program using the configuration
		/// </summary>
		public string Launch
		{
			get
			{
				return launch;
			}
		}
	}
}
